package indi.zhifa.study2025.oa.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.engine.core.common.entity.mpe.BaseEntity;
import indi.zhifa.engine.core.common.entity.mpe.RelBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 用户职位关联表
 * </p>
 *
 * @author 芝麻酱
 * @since 2025-04-08
 */
@Data
@TableName("rel_user_position")
@Schema(title = "GenRelUserPositionEntity对象", description = "用户职位关联表")
public class GenRelUserPositionEntity extends RelBaseEntity {

    @Schema(title = "用户Id")
    private Long userId;

    @Schema(title = "用户名,冗余字段，便于查看")
    private String userName;

    @Schema(title = "职位Id")
    private Long positionId;

    @Schema(title = "职位名称，冗余字段，便于查看")
    private String positionName;


}
